package com.skivingcloud.report.param;

import jakarta.validation.constraints.NotBlank;

import java.io.Serializable;

public class DataSetParamValidationParam implements Serializable {
    /** 参数示例项 */
    @NotBlank(message = "参数示例项不能为空")
    private String sampleItem;

    /** js校验字段值规则，满足校验返回 true */
    @NotBlank(message = "js校验字段值规则不能为空")
    private String validationRules;

    public String getSampleItem() {
        return sampleItem;
    }

    public void setSampleItem(@NotBlank(message = "参数示例项不能为空") String sampleItem) {
        this.sampleItem = sampleItem;
    }

    public String getValidationRules() {
        return validationRules;
    }

    public void setValidationRules(@NotBlank(message = "js校验字段值规则不能为空") String validationRules) {
        this.validationRules = validationRules;
    }
}
